package com.oig.auth.api.fallback;

import com.oig.auth.api.TenantInfoService;
import com.oig.sys.auth.vo.TenantInfoVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class TenantInfoServiceFallbackImpl implements TenantInfoService {
    @Setter
    private Throwable cause;


    @Override
    public TenantInfoVo getByCode(String code) {
        log.error("feign getOByCode error ", cause);
        return null;
    }

    @Override
    public TenantInfoVo getById(Integer tenantId) {
        log.error("feign info error ", cause);
        return null;
    }


}
